package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.entity.vo.HelpCenterVO;
import com.woniu.pojo.HelpCenter;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Ma.Lei
* @description 针对表【t_help_center】的数据库操作Mapper
* @createDate 2022-12-30 10:30:01
* @Entity generator.domain.HelpCenter
*/
public interface HelpCenterMapper extends BaseMapper<HelpCenter> {

    @Select("SELECT id,question from t_help_center")
    @ResultType(HelpCenterVO.class)
    List<HelpCenterVO> listQuestion();

}




